// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-

/*
JetiModel.h
  
Author:     Uwe Gartmann

This firmware is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
*/
#ifndef JetiModel_h
#define JetiModel_h

#define LCDLine1 1
#define LCDLine2 17
#define Jeti_key_up 	0b0010
#define Jeti_key_right	0b0001
#define Jeti_key_down	0b0100
#define Jeti_key_left	0b1000

class JetiModel : public Print {
public:
	uint8_t readbuttons(void);
	virtual void write(uint8_t c);
	using Print::write; // pull in write(str) and write(buf, size) from Print
	JetiModel();
	void begin();
	void setcursor(uint8_t p);
	void clear();
	void clear(uint8_t l);
};

#endif
